package com.snopy.base;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.channels.FileChannel;

/**
 * @author snopy
 * @version 1.0.0
 * @classname TryWithResourceDemo
 * @description
 * @email 77912204@qq.com
 * @date 2022/05/16 21:22
 */
public class TryWithResourceDemo {
    private void test(){
        try(FileChannel fileChannel = new FileInputStream("").getChannel()){

        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
